<?php

namespace BigVideo\Other\COR;

use BigVideo\Other\COR\Handler\PriceHandler;

/**
 * 客服申请折扣
 * Class Customer
 * @package BigVideo\Other\COR
 */
class Customer
{

    /**
     * @var PriceHandler
     */
    private $priceHandler;

    /**
     * @param mixed $priceHandler
     */
    public function setPriceHandler(PriceHandler $priceHandler)
    {
        $this->priceHandler = $priceHandler;
    }

    public function requestDiscount($discount)
    {
        $this->priceHandler->processDiscount($discount);
    }
}